package com.health.system.convert;

import com.health.system.entity.UserAuth;
import com.health.system.entity.UserInfo;
import com.health.system.security.auth.entity.HealthSecurityAuthDetails;
import com.health.system.vo.ModifyUserInfoVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@SuppressWarnings("ALL")
@Mapper
public interface UserConvert {

    UserConvert INSTANCE = Mappers.getMapper(UserConvert.class);

    HealthSecurityAuthDetails convert(UserAuth userAuth);

    UserInfo covert(ModifyUserInfoVo vo);
}
